﻿<%@ Page Language="C#" MasterPageFile="~/WorkFlow/WFConfigure/MpWorkflow.master" AutoEventWireup="true" Inherits="WorkFlow_WFConfigure_WFTaskGroupList" Title="Untitled Page" Codebehind="WFTaskGroupList.aspx.cs" %>
<%@ MasterType VirtualPath="~/WorkFlow/WFConfigure/MpWorkflow.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="page_margin" style="margin:5px" >
    <table width="100%" cellspacing="0" cellpadding="0"> 
    <tr><td align="right">
       <input type="button" class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'" onclick='javascript:mOpenNewDlg("<%=WorkflowApply.Home%>WorkFlow/WFConfigure/WFTaskGroupEdit.aspx",600,300,"<%=WorkflowApply.Home%>","新增任务栏分组")' name="Submit" value="新 增" />
        <asp:Button ID="btnDelete" runat="server" Text="删 除" OnClientClick="return mCanDelete('chkID','请选择要删除的记录！');" OnClick="btnDelete_Click"/>        
        </td>
    </tr>
</table>
  <div style="width:100%; padding-top:3px; text-align:center"> 

<table width="100%"  border="1" cellspacing="0" cellpadding="1" id="datagrid">
  <tr class="HeaderStyle">
    <td style="width:30px" align="center" >
        <input type="checkbox" name="chkAll" value="checkbox" onclick='javascript:mCheckAll(this,"chkID")' />
    </td>
    <td style="width:30px" align="center">序号</td>
    <td style="width:120px" align="center">分组名称</td>
    <td align="center">链接地址</td>
    <td style="width:80px" align="center">显示风格</td>
    <td style="width:80px" align="center">操作</td>
  </tr>
  <asp:Repeater ID="Repeater1" runat="server" >
  <ItemTemplate>
  <tr>
    <td align="center" >
        <input type="checkbox" name="chkID" id="chk<%# DataBinder.Eval(Container.DataItem,"ID") %>"  value="<%# DataBinder.Eval(Container.DataItem,"ID") %>" >
    </td>
    <td align="center"><%# DataBinder.Eval(Container.DataItem, "SortSerial")%></td>
    <td align="left"><%# DataBinder.Eval(Container.DataItem,"Name") %></td>    
    <td align="left"><%# DataBinder.Eval(Container.DataItem,"TaskPageUrl") %></td>
    <td align="center"><%# Honestysoft.Workflow.Model.WFPublicFun.GetEnumText(typeof(Honestysoft.Workflow.Model.WFEnumData.TaskGroupDisplayStyle), DataBinder.Eval(Container.DataItem, "DisStyle") + "")%></td>
    <td align="center">
        <%# GetLinkButton(DataBinder.Eval(Container.DataItem,"ID")+"") %>
    </td>
  </tr>  
  </ItemTemplate>
  </asp:Repeater>
</table>
</div>
</div>
</asp:Content>


